package j05zuoye.com.lanou.raise;

public class Cat extends Animal{
    public void catchMouse() {
        System.out.println("抓老鼠");
    }
    public void eat() {
        System.out.println("猫吃鱼");
    }
}

class Dog extends Animal{
    public void guardHouse() {
        System.out.println("看门");
    }
}

class Bird extends Animal{
    public void catchInsects() {
        System.out.println("捉虫子");
    }
}